.el-message {
  top: 60px !important;
}

.el-tooltip__popper {
  max-width: 60%;
}

.page-header {
  .el-form-item {
    margin-bottom: 10px !important;
    margin-right: 0 !important;
    width: 100% !important;

    .el-form-item__content {
      width: 100% !important;

      .el-date-editor {
        width: 100% !important;
      }
    }
  }
}

.page-header,
.draw-wrapper,
.dialog-wrapper {
  .el-select {
    width: 100% !important;
  }
}

.el-table__header {
  th {
    // background: #f4f4f4 !important;
  }
}

.d2-container-full__body {
  .el-card__body {
    padding: 10px !important;
  }
}

.el-drawer__body {
  height: 100%;
  overflow: auto;
  overflow-x: hidden;
}

.el-drawer__header {
  margin-bottom: 20px !important;
}

.is-current {
  & > .el-tree-node__content {
    .custom-tree-node > span {
      color: #409eff !important;
    }
  }
}

.el-card__header {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  font-size: 14px !important;
}

.custom-tree-node {
  font-size: 14px !important;
}

.el-select {
  width: 100% !important;
}

.el-dialog__body {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.el-form--label-top {
  .el-form-item__label {
    line-height: 18px !important;
  }
}

:focus {
  outline: 0;
}

.el-select-group .el-select-dropdown__item {
  padding-left: 40px !important;
}

.el-table {
  .el-button--text {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
}

.el-menu-item i {
  color: inherit !important;
}

.el-divider--horizontal {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}

.el-date-editor--time,
.el-date-editor--date,
.el-date-editor,
.el-cascader {
  width: 100% !important;
}

.dialog-wrapper {
  .el-input-number {
    width: 100% !important;
  }

  // 弹窗中，文件上传样式重置
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: auto !important;
    }
  }
}

//设置高优先，以覆盖内联样式，解决table最后一个单元格显示一半的bug
.el-table .el-table__fixed,
.el-table__fixed-right {
  height: 100% !important;
}

.el-table-column--selection {
  .cell {
    padding-left: 14px !important;
  }
}

// 自定义页面详情表单样式
.custom-page-detail {
  .el-form-item {
    border-bottom: 1px dashed #c9c9c9;
    margin-bottom: 0 !important;
    padding: 15px 0;
    // box-sizing: border-box;
    .el-form-item__label,
    .el-form-item__content {
      line-height: 20px !important;
    }
  }
}

.el-tag {
  line-height: 20px;
  word-break: break-all;
  white-space: normal;
  height: auto;
  padding-top: 3px;
  padding-bottom: 3px;
}

// 解决错位问题
.el-row {
  display: flex;
  flex-wrap: wrap;
}
